﻿
namespace airwolf.HTTP
{
    public struct HTTPResult
    {
        public string Header;
        public string Content;
        public ContentTypes ContentType;

        public HTTPResult(string Content, ContentTypes ContentType): this("", Content, ContentType) 
        {
        }

        public HTTPResult(string Header, string Content, ContentTypes ContentType)
        {
            this.Header = Header;
            this.Content = Content;
            this.ContentType = ContentType;
        }

        public HTTPResult(string Header, HTTPResult Result)
        {
            this.Header = Header;
            Content = Result.Content;
            ContentType = Result.ContentType;
        }
    }
}
